﻿<%@ Page Language="C#" MasterPageFile="~/admin/MasterPage.master" AutoEventWireup="true" CodeFile="Chitietsanpham.aspx.cs" Inherits="admin_Chitietsanpham" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">
<script language="javascript" type="text/javascript">
// <!CDATA[



// ]]>
</script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
<div>
        <div class="title" style="font-size: 7mm; color: teal; font-style: italic; width: 272px;" id="DIV1" onclick="return DIV1_onclick()">
            Chi Tiết Sản Phẩm</div>                  
        <div>
          <table cellspacing="1" cellpadding="3" border="0" bgcolor="#cccccc" style="width: 101%"> 
                  <tr>
                    <td style="width:21%; height: 19px; font-weight: bold; color: gray;">
                        Mã Sản Phẩm</td>
                    <td style="width:100%; height: 19px;">
                        <asp:Literal ID="lit_ma" runat="server"></asp:Literal>
                    </td>
                </tr> 
                 <tr>
                    <td style="width:21%; font-weight: bold; color: gray; height: 19px;">Tên Sản Phẩm</td>
                    <td style="width:100%">
                        <asp:Literal ID="lit_tensp" runat="server"></asp:Literal>
                    </td>
                </tr> 
                <tr>
                    <td style="width:21%; font-weight: bold; color: gray; height: 19px;">
                        Loại Mặt Hàng</td>
                    <td style="width:100%; height: 19px;">
                        <asp:Literal ID="lit_loaimh" runat="server"></asp:Literal>
                    
                     </td>   
                </tr>   
                   <tr>
                    <td style="width:21%; height: 19px; font-weight: bold; color: gray;">
                      Doanh Nghiệp</td>
                    <td style="width:100%; height: 19px;">
                        <asp:Literal ID="lit_dn" runat="server"></asp:Literal>
                    </td>
                </tr>   
              
              <tr>
                  <td style="font-weight: bold; width: 21%; color: gray; height: 19px">
                      Giá Gốc</td>
                  <td style="width: 100%; height: 19px">
                      <asp:Literal ID="lit_giagoc" runat="server"></asp:Literal></td>
              </tr>
              <tr>
                  <td style="font-weight: bold; width: 21%; color: gray; height: 19px">
                      Giá Bán</td>
                  <td style="width: 100%; height: 19px">
                      <asp:Literal ID="lit_giaban" runat="server"></asp:Literal></td>
              </tr>
              <tr>
                  <td style="font-weight: bold; width: 21%; color: gray; height: 18px">
                      Số Lượng Phiếu</td>
                  <td style="width: 100%; height: 18px">
                      <asp:Literal ID="lit_soluongphieu" runat="server"></asp:Literal></td>
              </tr>
              <tr>
                  <td style="font-weight: bold; width: 21%; color: gray; height: 19px">
                      Số Lượng Phiếu Bán</td>
                  <td style="width: 100%; height: 19px">
                      <asp:Literal ID="lit_soluongpb" runat="server"></asp:Literal></td>
              </tr>
              
              <tr>
                  <td style="font-weight: bold; width: 21%; color: gray; height: 19px">
                      Chiết Khấu</td>
                  <td style="width: 100%; height: 19px">
                      <asp:Literal ID="lit_chietkhau" runat="server"></asp:Literal></td>
              </tr>
              <tr>
                  <td style="font-weight: bold; width: 21%; color: gray; height: 19px">
                      Thời gian bắt đầu</td>
                  <td style="width: 100%; height: 19px">
                      <asp:Literal ID="lit_thoigianbd" runat="server"></asp:Literal></td>
              </tr>
              <tr>
                  <td style="font-weight: bold; width: 21%; color: gray; height: 19px">
                      Thời gian kết thúc</td>
                  <td style="width: 100%; height: 19px">
                      <asp:Literal ID="lit_thoigiankt" runat="server"></asp:Literal></td>
              </tr>
              <tr>
                  <td style="font-weight: bold; width: 21%; color: gray; height: 19px">
                      Mô Tả</td>
                  <td style="width: 100%; height: 19px">
                      <asp:Literal ID="lit_mota" runat="server"></asp:Literal></td>
              </tr>
              <tr>
                  <td style="font-weight: bold; width: 21%; color: gray; height: 19px">
                      Tình Trạng</td>
                  <td style="width: 100%; height: 19px">
                      <asp:Literal ID="lit_tinhtrang" runat="server"></asp:Literal></td>
              </tr>
              <tr>
                  <td style="font-weight: bold; width: 21%; color: gray; height: 19px">
                      Điều Kiện</td>
                  <td style="width: 100%; height: 19px">
                      <asp:Literal ID="lit_dieukien" runat="server"></asp:Literal></td>
              </tr>
                   <tr>
                    <td style="width:21%; font-weight: bold; color: gray; height: 19px;">Hình minh họa</td>
                    <td style="width:100%">
                        <asp:Image ID="img_HinhMinhHoa" Width ="150" Height ="150" runat="server" />
                    </td>
                </tr>   
            </table>
        </div>
<div>
            <br />
           <div class="title" style="font-size: 4mm; color: blue; font-style: italic; height: 1px; width: 872px;">
            Danh Sách Hình</div> 
    <div class="addnewrow" style="float: right; width: 13%; height: 1px; font-weight: bold; font-size: 10pt; font-style: italic;">
        <asp:HyperLink ID="hpl_them" Text="Thêm Mới" runat="server" /> |
        <asp:LinkButton ID="lbt_xoa" runat="server" Font-Bold="True" Font-Italic="True"
    
            Font-Size="10pt" Height="1px" OnClick="lbt_Xoa_Click">Xóa</asp:LinkButton>
    </div>
    <div>&nbsp;</div> 
     
          <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound" OnItemCommand="Repeater1_ItemCommand" >
            <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" border="0">
                <thead>
                    <tr class="listtableheader">
                        <th>Mã Hình</th>
                        <th>Hình</th>
                    
                        <th>Edit</th>
                        <th>
                            <input id="cb_All" type="checkbox" onclick="CheckAll(1);" />
                            <a href="javascript:CheckAll(2)">Chọn hết</a>
                        </th>
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>      
                <td><%#Eval("MaHinh") %></td>
                 <td> <asp:Image ID="img_hinhanh" Width ="100" Height = "100" runat="server" /></td>
                
                <td><asp:HyperLink ID="hpl_Edit" Text="Edit" runat="server" /></td>
                 <td><asp:CheckBox ID="cb_Xoa" runat="server" /><asp:HiddenField ID="hf_id" Value='<%#Eval("MaHinh") %>' runat="server" /></td>                
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater> 
        </div> 
        </div> 
    <br />
      <cc1:pagerv2_8 id="Pager" runat="server"></cc1:pagerv2_8>
 </div>
</asp:Content>

